package com.dormms.service;

import java.util.List;

import com.dormms.bean.DormAdminInfo;
import com.dormms.bean.DormLocation;
import com.dormms.dto.DormLocationAdmin;
import com.dormms.dto.DormLocationAdminInfo;

public interface DormLocationService {
	//查询宿舍楼信息表
	public List<DormLocation> queryDormLocationInfoByDormLocation(DormLocation dormLocation);
	//插入到宿舍楼
	public Integer insertDormLocationInfo(DormLocation dormLocation);
	//宿舍楼分配
	public Integer insertDormLocationAdminInfo(DormLocationAdmin dormLocationAdmin);
	//查询未分配宿舍的宿舍管理员
	public List<DormAdminInfo> getNoAdminDormLocationDormAdmin();
	//查询所选宿舍楼所有在职管理人员
	public DormLocationAdminInfo getAdminDormLocationAllDormAdmin(Integer dormLocationId);
	//更新宿舍楼表
	public Integer updateAdminDormLocationInfoBySuper(DormLocation dormLocation);
	public Integer deleteDormLocationAdmin(String dormAdminId);
}
